package com.company.pangu.aliyun.mts.config;

import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>description</p >
 *
 * @author youyoukele
 * @version 1.0
 * @date 2021/8/31
 */
@Data
@Builder
public class TranscodeConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * e.g cn-hangzhou
     */
    private String regionId;
    /**
     * Key
     */
    private String accessKeyId;
    /**
     * 秘钥
     */
    private String accessKeySecret;

    /**
     * 扩展信息，用以当作转码的默认值
     */
    private Ext ext;

    /**
     * 扩展信息，用以当作转码的默认值
     */
    @Data
    @Builder
    public static final class Ext {
        /**
         * oss out bucket
         */
        private String ossOutputBucket;
        /**
         * oss input bucket
         */
        private String ossInputBucket;
        /**
         * oss input location
         * e.g
         * oss-cn-hangzhou
         */
        private String ossInputLocation;
        /**
         * oss output location
         * e.g
         * oss-cn-hangzhou
         */
        private String ossOutputLocation;
        /**
         * 模版
         */
        private String templateId;
        /**
         * 通道
         */
        private String pipelineId;
    }


}
